package com.itlong.cloud.POJO.DTO.property;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      物业人员保存DTO
 * </desc>
 *
 * @createDate 2017/10/19
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PropertyUserSaveDTO extends BaseDTO implements Serializable {

    //用户ID
    private String userId;
    //账户名
    private String userName;

    //手机号
    private String phoneNum;

    //真实姓名
    private String realName;

    //性别
    private Integer gender;

    //'物业名称 （运营系统里用，物业系统不需要关注这个字段）'
    private String propertyName;

    //所属部门
    private String groupId;

    //所属角色
    private String roleId;

    //备注
    private String description;

    //登录密码
    private String password;

    private String userGroupRoleJson;           // 用户部门角色json字符串

    public PropertyUserSaveDTO(String userId, String password) {
        this.userId = userId;
        this.password = password;
    }
}